from celery import Celery
import os

# os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'luffy_backend.settings.dev')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'luffy_backend.settings.pro')
app = Celery('celery')
app.config_from_object('django.conf:settings',
                       namespace='CELERY')

app.autodiscover_tasks()
